//
//  YXMachineCell.m
//  CreditCard
//
//  Created by 杨旭 on 2017/12/24.
//  Copyright © 2017年 杨旭. All rights reserved.
//

#import "YXMachineCell.h"
#import "YXTerminalsModel.h"
@interface YXMachineCell ()
@property (weak, nonatomic) IBOutlet UILabel *codeLab;
@property (weak, nonatomic) IBOutlet UILabel *modelLab;
@property (weak, nonatomic) IBOutlet UILabel *statusLab;
@end

@implementation YXMachineCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setModel:(YXTerminalsModel *)model {
    _model = model;
    _codeLab.text = [NSString stringWithFormat:@"%@",_model.terminalCode];
    _modelLab.text = [NSString stringWithFormat:@"%@",_model.model];
    _statusLab.text = _model.status;
}

@end
